<template>
  <div class="home">
    <el-container>
      <el-header><Header></Header></el-header>
      <el-container>
        <el-aside width="200px"><Aside></Aside></el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
// @ is an alias to /src
import Header from "@/components/Header";
import Aside from "@/components/Aside";
export default {
  name: "Home",
  components: {
    Header,
    Aside,
  },
};
</script>

<style lang="less" scoped>
.home {
  height: 100%;
  /deep/ .el-header {
    background-color: #0c7d9d;
  }

  /deep/ .el-container {
    height: 100vh;
    .el-aside {
      height: 100%;
    }
  }

  /deep/.el-main {
    background-color: #f8f8f8;
  }
}
</style>c
